package com.tpc.control.jpa;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * VariantReport entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "variant_report", catalog = "production_control")
public class VariantReport implements java.io.Serializable {

	// Fields

	private String name;
	private String selectField;

	// Constructors

	/** default constructor */
	public VariantReport() {
	}

	/** full constructor */
	public VariantReport(String name, String selectField) {
		this.name = name;
		this.selectField = selectField;
	}

	// Property accessors
	@Id
	@Column(name = "name", unique = true, nullable = false, length = 40)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "select_field", nullable = false, length = 100)
	public String getSelectField() {
		return this.selectField;
	}

	public void setSelectField(String selectField) {
		this.selectField = selectField;
	}

}